
package guoan.repository;

import guoan.domain.AdvPay;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AdvPayRepository extends PagingAndSortingRepository<AdvPay, Long>,
        JpaSpecificationExecutor<AdvPay> {

    AdvPay findTop1ByType(String type);

}
